<include file="Common@Public:header" />
	<div class="amz-banner">
		<div class="am-container" data-am-scrollspy="{animation: 'scale-up', repeat: false}">
			<div class="am-u-md-12">
				<h1>{$category.title}</h1>
				<p>{$category.description}</p>
			</div>
		</div>
	</div>

	<div class="am-container am-margin-top am-margin-bottom">
		<div class="am-cf am-u-md-12 am-margin-bottom">
			<ul class="am-nav am-nav-pills">
				<li class="am-active"><a href="{:U('Article/index?category='.$category['id'])}">{$category.title}</a></li>
				{:W('Category/lists', array($category['id'], true))}
			</ul>
		</div>
		<div class="am-g photo-list" id="container">
			<!-- Contents================================================== -->
			<article:list name="list" category="$category['id']" child="true">
			<div class="am-thumbnail am-u-md-12 am-u-sm-12">
				<a href="{:U('Article/detail?id='.$list['id'])}" class="am-fl"><img class="am-img-responsive" src="{$list.cover_id|get_cover='path'}" alt="{$list.title}" width="150" /></a>
				<div class="am-fl">
					<h3 class="am-thumbnail-caption"><a href="{:U('Article/detail?id='.$list['id'])}">{$list.title}</a></h3>
					<p>{:msubstr(op_t($list['description']),0,30)}</p>
					<span class="am-block am-text-right"><i class="am-icon-eye"></i> {$list.view}</span>
				</div>
			</div>
			</article:list>

            <div class="onethink pagination pagination-right pagination-large">
                <article:page cate="$category['id']" listrow="$category['list_row']" />
            </div>
            
		</div>
	</div>
<include file="Common@Public:footer" />